package com.byit.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.byit.domain.AppMail;
import com.byit.domain.AppNews;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @ClassName AppMailMapper
 * @Description 邮件
 * @Author lxp
 * @Date 2019-01-21 18:35
 **/
@Repository
public interface AppMailMapper extends BaseMapper<AppMail> {



    /**
     * 逻辑删除邮件服务信息
     *
     * @param params
     */
    void deleteAppMailById(Map<String, Object> params);

    /**
     * 查询邮件服务列表
     *
     * @param pageInfo
     * @param params
     * @return
     */
    List<JSONObject> selectAppMailPageList(Page<AppMail> pageInfo, Map<String, Object> params);

}
